import Vue from 'vue';
import App from './App.vue';
import router from './router';
import store from './store';
import axios from 'axios'

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);
Vue.config.productionTip = false;

import echarts from 'echarts'
//需要挂载到Vue原型上
Vue.prototype.$echarts = echarts

Vue.prototype.$http = axios  
axios.defaults.baseURL="http://39.98.162.10:8001/"

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount('#app');
